const classroomReducer=(state={room:[]},action)=>{
    switch(action.type){
        case 'LOOK':
            // console.log(action.managers);

            return {room:action.room};
        case 'ADD':
            return {room:action.room}
        case 'DEL':
            return {room:action.room}
        default:
            return state;
    }
}
export default classroomReducer;